package me.ywy.apt.msgimport.main;

import java.util.List;

import me.ywy.apt.msgimport.bean.MsgEntity;

/**
 * Created by ywy on 2018-04-16.
 */
public interface MainContract {
    interface Model {
    }

    interface View {
        void viewRefreach();

        void viewRefreachRemove(int position);

        void viewRefreachItem(int position);

        void showError(String s);

        void convertSuccess();
    }

    interface Presenter {
        void imputMsg(String inputMsg);

        List<MsgEntity> getData();

        void removeItem(int position);

        void detailEdit(MsgEntity msgEntity, int position);

        void updateDataListItem(MsgEntity entity, int position);
    }
}
